package com.one.api.push.config;

import com.one.api.common.constant.BeanNameConstant;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component(BeanNameConstant.apiPushConfigure)
public class ApiPushConfigure {
    @Value("${ali.access.key.id}")
    private String aliAccessKeyId;

    @Value("${ali.access.key.secret}")
    private String aliAccessKeySecret;

    @Value("${ali.email.send.address}")
    private String aliEmailSendAddr;

    @Value("${ali.email.tag.name}")
    private String aliEmailTagName;

    @Value("${ali.email.from.alias}")
    private String aliEmailFromAlias;

    public String getAliAccessKeyId() {
        return aliAccessKeyId;
    }

    public void setAliAccessKeyId(String aliAccessKeyId) {
        this.aliAccessKeyId = aliAccessKeyId;
    }

    public String getAliAccessKeySecret() {
        return aliAccessKeySecret;
    }

    public void setAliAccessKeySecret(String aliAccessKeySecret) {
        this.aliAccessKeySecret = aliAccessKeySecret;
    }

    public String getAliEmailSendAddr() {
        return aliEmailSendAddr;
    }

    public void setAliEmailSendAddr(String aliEmailSendAddr) {
        this.aliEmailSendAddr = aliEmailSendAddr;
    }

    public String getAliEmailTagName() {
        return aliEmailTagName;
    }

    public void setAliEmailTagName(String aliEmailTagName) {
        this.aliEmailTagName = aliEmailTagName;
    }

    public String getAliEmailFromAlias() {
        return aliEmailFromAlias;
    }

    public void setAliEmailFromAlias(String aliEmailFromAlias) {
        this.aliEmailFromAlias = aliEmailFromAlias;
    }
}
